package ooday01test;

public class StudentTest {
    public static void main(String[] args) {
        //StudentTest
        Student stu1=new Student();
        stu1.name="张三";
        stu1.age=18;
        stu1.className="软件1班";
        stu1.stuId="2019001";
        stu1.sayHi();

        Student stu2=new Student("李四",19,"软件2班","2019002");
        stu2.sayHi();
        stu2.playWith("王五");
    }
}
